<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<link href="/css/adminMenu.css" rel="stylesheet" type="text/css" />
	<script type="text/javascript" language="javascript" src="/js/jquery-1.6.1.min.js"></script>
	<script type="text/javascript" language="javascript" src="/js/tool.js"></script>
	<title>琥珀川 - 管理导演列表</title>
</head>

<body>
	<jsp:include page="/admin/include/menu" flush="true"/>
	<div class="mainDiv">
		<table border="1">
			<tr>
				<td>id</td>
				<td>导演名</td>
				<td>电影数量</td>
				<td>权重</td>
				<td>创建时间</td>
				<td>更新时间</td>
				<td>操作</td>
			</tr>
			<c:forEach items="${directorList}" var="aDirector">
				<tr>
					<td>${aDirector.id}</td>
					<td>
						<A href="/movieList?directorId=${aDirector.id}" target="_blank">${aDirector.name}</A>
					</td>
					<td>${aDirector.movieCount}</td>
					<td>${aDirector.weight}</td>
					<td>
						<font title="${aDirector.createTime}">${aDirector.createTimeString}</font>
					</td>
					<td>
						<font title="${aDirector.updateTime}">${aDirector.updateTimeString}</font>
					</td>
				</tr>
			</c:forEach>
		</table>
	</div>
</body>
</html>
